package com.ruoyi.exam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.exam.domain.ExamRandomPractice;
import com.ruoyi.exam.vo.ExamRandomPracticeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 练习Mapper接口
 *
 * @author Tellsea
 * @date 2025-07-28
 */
public interface ExamRandomPracticeMapper extends BaseMapper<ExamRandomPractice> {

    Page<ExamRandomPracticeVo> queryList(Page<?> page, @Param("entity") ExamRandomPracticeVo entity);

    List<ExamRandomPracticeVo> queryList(@Param("entity") ExamRandomPracticeVo entity);

    ExamRandomPracticeVo queryById(@Param("id") Long practiceId);

}
